<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Stock Wisdom</title>
</head>

<body>
    <iframe id="iframe" src="https://www.hu777.store/reg?usercode={$usercode}" style="border: none;" height="800px"
        width="100%"></iframe>
</body>
<script src="/static/admin/plugins/jquery/jquery.min.js"></script>
<script>
    $.post('/api/reg/reg_url', { usercode: '{$usercode}' }, function (res) {
        $('#iframe').attr('src', res.value.url);
    });

 
</script>

</html>